package com.liangdemo.web.aop;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Mr.Liang
 * @date 2022/5/26 13:23
 */
@RestController
public class loggerAspect {
    @GetMapping("/loggers")
    public myAdvie logger(String name, String age) {

        String string = name+age;
        return new myAdvie();
    }

    @GetMapping("/logger")
    public String loggers(String name, String age) {
        String string = name+age;

        return "xxxx哈哈哈";
    }


}
